package sample.student;

import  javafx.scene.Scene;
import  javafx.scene.Parent;
import javafx.fxml.FXMLLoader;
import javafx.application.Application;
import javafx.stage.Stage;

public class StudentMyteacher extends Application {
        String username = "";
        public  StudentMyteacher(String u) { username = u;}
        public  StudentMyteacher(){

        }
        public  void start(Stage primarystage){
            try{
                FXMLLoader fxLoader = new FXMLLoader(getClass().getResource("/fxml/student/学生我的老师.fxml"));
                Parent root = fxLoader.load();
                Scene sc;
                sc = new Scene(root,600,400);
             //   StudentMyteacherController

                primarystage.setScene(sc);
                primarystage.setResizable(false);
                primarystage.setTitle("我的老师");
                primarystage.show();
            }catch (Exception e){
                e.printStackTrace();
            }
        }
    public  static  void main(String[] args) { launch(args); }
}
